/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */

package model.enetities;

/**
 *
 * @author Hieu.Nguyen
 */
public class Role {
    private int idRole;
    private String name;
    private String descriptions;
    private boolean actived;

    public Role(){};
    public Role(int idRole){};
    public Role(String name, String descriptions, boolean actived) {
        this.name = name;
        this.descriptions = descriptions;
        this.actived = actived;
    }
    
    

    /**
     * @return the idRole
     */
    public int getIdRole() {
        return idRole;
    }

    /**
     * @param idRole the idRole to set
     */
    public void setIdRole(int idRole) {
        this.idRole = idRole;
    }

    /**
     * @return the name
     */
    public String getName() {
        return name;
    }

    /**
     * @param name the name to set
     */
    public void setName(String name) {
        this.name = name;
    }

    /**
     * @return the descriptions
     */
    public String getDescriptions() {
        return descriptions;
    }

    /**
     * @param descriptions the descriptions to set
     */
    public void setDescriptions(String descriptions) {
        this.descriptions = descriptions;
    }

    /**
     * @return the actived
     */
    public boolean isActived() {
        return actived;
    }

    /**
     * @param actived the actived to set
     */
    public void setActived(boolean actived) {
        this.actived = actived;
    }
}
